<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"/>
    <title>Title</title>
</head>
<body>
<h1>成功</h1>
第一种方式取值：<p th:text="${usrName}">usrName</p>
<div th:inline="text">
    <p>Hello,[[${usrName}]]!</p>
    <br/>
</div>

<!--th:each 每次遍历都会生成当前这个标签 -->
<table border="1">
    <tr>
        <th>用户名</th>
        <th>密码</th>
    </tr>
    <tr th:each="user : ${users}">
        <td th:text="${user.usrName}"></td>
        <td th:text="${user.usrPassword}"></td>
    </tr>
</table>
</body>
</html>